import request from '@/utils/request'

// 查询运费报价记录列表
export function listFreightQuotationRecord(query) {
  return request({
    url: '/ys/freightQuotationRecord/list',
    method: 'get',
    params: query
  })
}

// 查询运费报价记录详细
export function getFreightQuotationRecord(id) {
  return request({
    url: '/ys/freightQuotationRecord/' + id,
    method: 'get'
  })
}

// 新增运费报价记录
export function addFreightQuotationRecord(data) {
  return request({
    url: '/ys/freightQuotationRecord',
    method: 'post',
    data: data
  })
}

// 修改运费报价记录
export function updateFreightQuotationRecord(data) {
  return request({
    url: '/ys/freightQuotationRecord',
    method: 'put',
    data: data
  })
}

// 删除运费报价记录
export function delFreightQuotationRecord(id) {
  return request({
    url: '/ys/freightQuotationRecord/' + id,
    method: 'delete'
  })
}
